CE Gobi SDK  2.14
GobiApi
GobiAPIDefs.h
1 #ifndef __GobiAPIDef_h__
2 #define __GobiAPIDef_h__
3 
4 /*=========================================================================*/
5 // Definitions
6 /*=========================================================================*/
7 #ifdef GOBIAPI_EXPORTS
8  #define IMPORTGOBI extern "C" __declspec( dllexport )
9 #else //GOBIAPI_EXPORTS
10  #ifdef __cplusplus
11  /* C++ callable DLL */
12  #define IMPORTGOBI extern "C" __declspec( dllimport )
13  #else
14  /* C callable DLL */
15  #define IMPORTGOBI __declspec( dllimport )
16  #endif
17 #endif //GOBIAPI_EXPORTS
18 
20 
21 #ifdef GOBIAPI_EXPORTS
22  #define SWIIMPORT extern "C" __declspec( dllexport )
23 #else //GOBIAPI_EXPORTS
24  #ifdef __cplusplus
25  /* C++ callable DLL */
26  #define SWIIMPORT extern "C" __declspec( dllimport )
27  #else
28  /* C callable DLL */
29  #define SWIIMPORT __declspec( dllimport )
30  #endif
31 #endif //GOBIAPI_EXPORTS
32 
33 // Calling convention for API
34 #define SWICALLBACK __stdcall
35 #define SWICMAPI __stdcall
36 
37 // Calling convention for API
38 #define GOBICALLBACK __stdcall
39 #define GOBICMAPI __stdcall
40 // Calling convention for API
41 #define GOBIAPI __cdecl
42 
44 #ifdef GOBIAPI_EXPORTS
45  #define QCIMPORT2K extern "C" __declspec( dllexport )
46 #else //GOBIAPI_EXPORTS
47  #ifdef __cplusplus
48  /* C++ callable DLL */
49  #define QCIMPORT2K extern "C" __declspec( dllimport )
50  #else
51  /* C callable DLL */
52  #define QCIMPORT2K __declspec( dllimport )
53  #endif
54 #endif //GOBIAPI_EXPORTS
55 
56 // Calling convention for API
57 #define QCCALLBACK2K __stdcall
58 #define QCWWANAPI2K __stdcall
59 
60 
61 
62 // Technology Constants
63 #define TECHNOLOGY_CDMA 0x00
64 #define TECHNOLOGY_UMTS 0x01
65 #define TECHNOLOGY_LTE 0x02
66 #define TECHNOLOGY_MULT 0x03
67 
68 // Carrier Constants
69 #define CARRIER_GENERIC 1
70 #define CARRIER_FACTORY 2
71 #define CARRIER_NORF 3
72 #define CARRIER_VERIZON 101
73 #define CARRIER_SPRINT 102
74 #define CARRIER_ALLTEL 103
75 #define CARRIER_BELL 104
76 #define CARRIER_TELUS 105
77 #define CARRIER_USCELLUAR 106
78 #define CARRIER_TELSTRA 107
79 #define CARRIER_CHINA_UNICOM 108
80 #define CARRIER_TELECOM_NZ 109
81 #define CARRIER_SK_TELCOM 110
82 #define CARRIER_RELIANCE 111
83 #define CARRIER_TATA 112
84 #define CARRIER_METRO_PCS 113
85 #define CARRIER_LEAP 114
86 #define CARRIER_KDDI 115
87 #define CARRIER_GRUPO_IUSACALL 116
88 #define CARRIER_CHINA_MOBILE 117
89 #define CARRIER_OMH 118
90 #define CARRIER_ROGERS 176
91 #define CARRIER_NETINDEX 177
92 #define CARRIER_DNA 178
93 #define CARRIER_AERIS 180
94 #define CARRIER_ATT 201
95 #define CARRIER_VODAFONE 202
96 #define CARRIER_TMOBILE 203
97 #define CARRIER_ORANGE 204
98 #define CARRIER_TELEFONICA 205
99 #define CARRIER_TELECOM_ITALIA 206
100 #define CARRIER_3 207
101 #define CARRIER_O2 208
102 #define CARRIER_SFR 209
103 #define CARRIER_SWISSCOM 210
104 #define CARRIER_CHINA_MOBILE2 211
105 #define CARRIER_TELSTRA2 212
106 #define CARRIER_SIGNAPORE 213
107 #define CARRIER_RELIANCE2 214
108 #define CARRIER_BHARTI_AIRTEL 215
109 #define CARRIER_NTT_DOCOMO 216
110 #define CARRIER_EMOBILE 217
111 #define CARRIER_SOFTBANK 218
112 #define CARRIER_KOREA 219
113 #define CARRIER_SK_TELECOM2 220
114 #define CARRIER_TELNOR 221
115 #define CARRIER_NETCOME_NORWAY 222
116 #define CARRIER_TELIA_SONERA 223
117 #define CARRIER_AMX_TELCEL 224
118 #define CARRIER_BRASIL_VIVO 225
119 
120 // Region Constants
121 #define REGION_NORTH_AMERICA 0x00
122 #define REGION_LATIN_AMERICA 0x01
123 #define REGION_EUROPE 0x02
124 #define REGION_ASIA 0x03
125 #define REGION_AUSTRILIA 0x04
126 #define REGION_GLOBAL 0x05
127 
128 #define UNKNOWN 0xFFFFFFFF
129 
130 
131 #endif